nz.co.cks.tms.xml
Class AttribType

java.lang.Object
  extended bynz.co.cks.tms.xml.AttribType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Attrib

public abstract class AttribType
extends java.lang.Object
implements java.io.Serializable

Class AttribType.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  java.lang.String _name
          Field _name
private  java.lang.String _value
          Field _value
 
Constructor Summary
AttribType()
           
 
Method Summary
 java.lang.String getName()
          Method getNameReturns the value of field 'name'.
 java.lang.String getValue()
          Method getValueReturns the value of field 'value'.
 boolean isValid()
          Method isValid
 void setName(java.lang.String name)
          Method setNameSets the value of field 'name'.
 void setValue(java.lang.String value)
          Method setValueSets the value of field 'value'.
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_name

private java.lang.String _name
Field _name


_value

private java.lang.String _value
Field _value

Constructor Detail

AttribType

public AttribType()
Method Detail

getName

public java.lang.String getName()
Method getNameReturns the value of field 'name'.

Returns:
the value of field 'name'.

getValue

public java.lang.String getValue()
Method getValueReturns the value of field 'value'.

Returns:
the value of field 'value'.

isValid

public boolean isValid()
Method isValid


setName

public void setName(java.lang.String name)
Method setNameSets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setValue

public void setValue(java.lang.String value)
Method setValueSets the value of field 'value'.

Parameters:
value - the value of field 'value'.

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException